package nl.haemers.collections 
{
	import nl.haemers.collections.interfaces.ILinkedNode;
	/**
	 * @author Jonathan Haemers
	 */
	public class LinkedNode implements ILinkedNode
	{
		/*
		protected var _next 				:ILinkedNode;
		protected var _previous				:ILinkedNode;
		protected var _element				:Object;
		*/
		
		public var next						:LinkedNode;
		public var previous					:LinkedNode;
		public var element					:Object;
		
		public function LinkedNode(element:Object=null, previous:LinkedNode=null, next:LinkedNode=null)
		{
			this.element = element;
			this.next = next;
			this.previous = previous;
		}
		
		/** Public methods **/
		/*
		public function get next() : ILinkedNode
		{ 
			return _next;
		}
		public function set next( value:ILinkedNode ) : void 
		{
			_next = value;
		}
		
		public function get previous() : ILinkedNode
		{ 
			return _previous;
		}
		public function set previous( value:ILinkedNode ) : void 
		{
			_previous = value;
		}
		
		public function get element() : Object
		{ 
			return _element;
		}
		public function set element( value:Object ) : void 
		{
			_element = value;
		}
		*/
		/** Protected methods **/
		
		/** Private methods **/
	}
}